import java.time.LocalDate;
import java.time.temporal.ChronoUnit;

public class DaysSinceEndOfTheWorld {
    public static void main(String[] args) {
        LocalDate endOfTheWorld = LocalDate.of(2012, 12, 21);
        LocalDate today = LocalDate.now();

        long daysSinceEndOfTheWorld = ChronoUnit.DAYS.between(endOfTheWorld, today);

        System.out.println("从'世界末日'至今已经过去了 " + daysSinceEndOfTheWorld + " 天。");
    }
}
